uuid 필드와 메서드
필드는 값에 관한 단순한 정보로, 대괄호 없이 점으로 읽어요: $value.name. 메서드는 인수를 받거나 작업을 수행하며, ->로 호출하거나 $value->name(arguments)처럼 값을 파이프로 넘겨서 호출해요: $value |> name(arguments).
필드
| 필드 | 타입 | 설명 |
|---|---|---|
.timestamp | date | 버전 7 UUID가 생성된 시각(UTC)이며, 다른 버전이면 null입니다. |
.version | number | UUID의 버전입니다: 무작위 UUID는 4, 시간순 UUID는 7, 사용자 지정 UUID는 8이며(nil UUID는 0입니다). |
any의 메서드
->convert(from?: 'json'|yaml|'csv'|'markdown'|'latex', to?: 'json'|yaml|'csv'|html|'markdown'|'latex', header?: bool, as?: type, headers?: list, indented?: bool)->from(type: 'json'|yaml|'csv'|'markdown'|'latex', header?: bool, as?: type)->is_a(type: word)->is_null()->or(fallback)->to(type: 'json'|yaml|'csv'|html|'markdown'|'latex', headers?: list, indented?: bool)->to_string()->type()