Trường · Isbn
Trường · Isbn · commerce.isbn. Phương thức tạo · Ví dụ
commerce.isbn
Cài đặt trình tạo
Tạo dữ liệu để xem kết quả ở đây.
Tham số & Ví dụ
Returns a random ISBN identifier.
commerce.isbn(options?: 10 | 13 | { variant?: 10 | 13; separator?: string; })- options
- The variant to return or an options object.
- options.variant
- The variant to return. Can be either 10 (10-digit format) or 13 (13-digit format). Defaults to 13.
- options.separator
- The separator to use in the format. Defaults to '-'.
Ví dụ
"978-1-160-64381-8"Dùng dữ liệu tổng hợp trong môi trường kiểm thử.