Explorer

definy.text-is-digit

description
Whether the byte is 0-9
type
Fn(byte: Number) -> Boolean
expression
fn(byte$0) =>
  @core.and(
    left: @core.less-than-or-equal(left: 48, right: $0),
    right: @core.less-than-or-equal(left: $0, right: 57)
  )
visibility
public
definy.text-is-digit (project definy, branch main, snapshot l0VFjJZP174d8CbZWFoujAGTYjgsQu4uTq5uWCZaXgo)
id: Z2JLNuNAw5YK5shaplQ3CC-677IJYR8umJpdesCNpuE
content hash: 4yDSg0DxUZ-1ywyUY7nQxw_W0QNuLth0sSIUaG-F990