1.0.2 • Published 11 months ago

nv-facutil-lefted v1.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
11 months ago

nv-facutil-lefted

  • to creat a array-of-size-2
  • for test continuation-ctx in nvlang(used by buffer combinator feature), USELESS

install

  • npm install nv-facutil-lefted

usage

  const { 
     creat,
     creat_cds,creat_cpts,creat_rng
  }   = require("nv-facutil-lefted");

example

	> var lefted = creat(5)
	> lefted
	Lefted(2) [ 2, 5 ]
	> lefted.is_si()
	true

METHODS

lefted.data                  lefted.emptize               lefted.is_cds                lefted.is_cpts
lefted.is_empty              lefted.is_rng                lefted.is_si                 lefted.is_str                lefted.is_u8a

APIS

		{
		  creat_cds: [Function: creat_cds],
		  creat_cpts: [Function: creat_cpts],
		  creat_rng: [Function: creat_rng],
		  get_typnum_from_data: [Function: get_typnum_from_data],
		  TYPMD: {
		    '0': 'empty',
		    '1': 'str',
		    '2': 'si',
		    '3': 'cds',
		    '4': 'cpts',
		    '5': 'rng',
		    '6': 'u8a',
		    '65535': 'other',
		    empty: 0,
		    str: 1,
		    si: 2,
		    cds: 3,
		    cpts: 4,
		    rng: 5,
		    u8a: 6,
		    other: 65535
		  },
		  creat: [Function: creat]
		}

LICENSE

  • ISC
1.0.2

11 months ago

1.0.1

11 months ago