Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ctx-core/function

Package Overview
Dependencies
Maintainers
1
Versions
525
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ctx-core/function - npm Package Compare versions

Comparing version 9.0.0 to 9.0.1

156

lib.js

@@ -296,8 +296,8 @@ /**

/**
* Returns not applied to the spread of `nowrap__a1__value`
* @param {nowrap__a1} nowrap__a1__value
* Returns not applied to the spread of `__a1__value`
* @param {nowrap__a1} __a1__value
* @returns {boolean}
*/
export function not(nowrap__a1__value) {
const a1__value = _a1__wrap(nowrap__a1__value)
export function not(__a1__value) {
const a1__value = _a1__wrap(__a1__value)
for (let i = 0; i < a1__value.length; i++) {

@@ -311,15 +311,15 @@ const value = a1__value[i]

* Returns function that calls [not](#not) with [concat__wrap](#concat__wrap) of the arguments.
* @param {nowrap__a1} nowrap__a1__value__
* @param {nowrap__a1} __a1__value__
* @returns {function(*=): boolean}
*/
export function _not(nowrap__a1__value__) {
return nowrap__a1__value => not(concat__wrap(nowrap__a1__value__, nowrap__a1__value))
export function _not(__a1__value__) {
return __a1__value => not(concat__wrap(__a1__value__, __a1__value))
}
/**
* Returns the boolean of the truthiness all values in `nowrap__a1__value`
* @param {nowrap__a1} nowrap__a1__value
* Returns the boolean of the truthiness all values in `__a1__value`
* @param {nowrap__a1} __a1__value
* @returns {boolean}
*/
export function notnot(nowrap__a1__value) {
const a1__value = _a1__wrap(nowrap__a1__value)
export function notnot(__a1__value) {
const a1__value = _a1__wrap(__a1__value)
for (let i = 0; i < a1__value.length; i++) {

@@ -333,15 +333,15 @@ const value = a1__value[i]

* Returns function that calls [notnot](#notnot) with [concat__wrap](#concat__wrap) of the arguments.
* @param {nowrap__a1} nowrap__a1__value__
* @param {nowrap__a1} __a1__value
* @returns {function(*=): boolean}
*/
export function _notnot(nowrap__a1__value__) {
return value => notnot(concat__wrap(nowrap__a1__value__, value))
export function _notnot(__a1__value) {
return value => notnot(concat__wrap(__a1__value, value))
}
/**
* Returns `==` operator to all values in `nowrap__a1__value`.
* @param {nowrap__a1} nowrap__a1__value
* Returns `==` operator to all values in `__a1__value`.
* @param {nowrap__a1} __a1__value
* @returns {boolean}
*/
export function eq(nowrap__a1__value) {
const a1__value = _a1__wrap(nowrap__a1__value)
export function eq(__a1__value) {
const a1__value = _a1__wrap(__a1__value)
let value__current = a1__value[0]

@@ -355,17 +355,17 @@ for (let i = 1; i < a1__value.length; i++) {

/**
* Returns function that returns `==` operator to all values in `nowrap__a1__value__`.
* @param {nowrap__a1} nowrap__a1__value__
* Returns function that returns `==` operator to all values in `__a1__value`.
* @param {nowrap__a1} __a1__value
* @returns {function(*=): boolean}
*/
export function _eq(nowrap__a1__value__) {
return value => eq(concat__wrap(nowrap__a1__value__, value))
export function _eq(__a1__value) {
return value => eq(concat__wrap(__a1__value, value))
}
export const _fn__eq = _eq
/**
* Returns `!=` operator to all values in `nowrap__a1__value`.
* @param {nowrap__a1} nowrap__a1__value
* Returns `!=` operator to all values in `__a1__value`.
* @param {nowrap__a1} __a1__value
* @returns {boolean}
*/
export function neq(nowrap__a1__value) {
const a1__value = _a1__wrap(nowrap__a1__value)
export function neq(__a1__value) {
const a1__value = _a1__wrap(__a1__value)
let value__current = a1__value[0]

@@ -379,16 +379,16 @@ for (let i = 1; i < a1__value.length; i++) {

/**
* Return function that Returns `!=` operator to all values in `nowrap__a1__value__`.
* @param {nowrap__a1} nowrap__a1__value__
* Return function that Returns `!=` operator to all values in `__a1__value`.
* @param {nowrap__a1} __a1__value__
* @returns {function(*=): boolean}
*/
export function _neq(nowrap__a1__value__) {
return nowrap__a1__value => neq(concat__wrap(nowrap__a1__value__, nowrap__a1__value))
export function _neq(__a1__value__) {
return __a1__value => neq(concat__wrap(__a1__value__, __a1__value))
}
/**
* Returns `===` operator to all values in `nowrap__a1__value`.
* @param {nowrap__a1} nowrap__a1__value
* Returns `===` operator to all values in `__a1__value`.
* @param {nowrap__a1} __a1__value
* @returns {boolean}
*/
export function eql(nowrap__a1__value) {
const a1__value = _a1__wrap(nowrap__a1__value)
export function eql(__a1__value) {
const a1__value = _a1__wrap(__a1__value)
let value__current = a1__value[0]

@@ -402,8 +402,8 @@ for (let i = 1; i < a1__value.length; i++) {

/**
* Returns function that returns `===` operator to all values in `nowrap__a1__value__`.
* @param nowrap__a1__value__
* Returns function that returns `===` operator to all values in `__a1__value`.
* @param __a1__value
* @returns {function(*=): boolean}
*/
export function _eql(nowrap__a1__value__) {
return value => eql(concat__wrap(nowrap__a1__value__, value))
export function _eql(__a1__value) {
return value => eql(concat__wrap(__a1__value, value))
}

@@ -419,8 +419,8 @@ /**

/**
* Returns `!==` operator to all values in `nowrap__a1__value`.
* @param {nowrap__a1} nowrap__a1__value
* Returns `!==` operator to all values in `__a1__value`.
* @param {nowrap__a1} __a1__value
* @returns {boolean}
*/
export function neql(nowrap__a1__value) {
const a1__value = _a1__wrap(nowrap__a1__value)
export function neql(__a1__value) {
const a1__value = _a1__wrap(__a1__value)
let value__current = a1__value[0]

@@ -434,16 +434,16 @@ for (let i = 1; i < a1__value.length; i++) {

/**
* Returns function that returns `!==` operator to all values in `nowrap__a1__value__`.
* @param nowrap__a1__value__
* Returns function that returns `!==` operator to all values in `__a1__value`.
* @param __a1__value
* @returns {function(*=): boolean}
*/
export function _neql(nowrap__a1__value__) {
return value => neql(concat__wrap(nowrap__a1__value__, value))
export function _neql(__a1__value) {
return value => neql(concat__wrap(__a1__value, value))
}
/**
* Returns the first falsy or last item in `nowrap__a1__value`.
* @param {nowrap__a1} nowrap__a1__value
* Returns the first falsy or last item in `__a1__value`.
* @param {nowrap__a1} __a1__value
* @returns {*}
*/
export function and(nowrap__a1__value) {
const a1__value = _a1__wrap(nowrap__a1__value)
export function and(__a1__value) {
const a1__value = _a1__wrap(__a1__value)
for (let i = 0; i < a1__value.length; i++) {

@@ -456,16 +456,16 @@ const value = a1__value[i]

/**
* Returns function that returns the first falsy or last item in `nowrap__a1__value`.
* @param {nowrap__a1} nowrap__a1__value__
* Returns function that returns the first falsy or last item in `__a1__value`.
* @param {nowrap__a1} __a1__value
* @returns {function(*=): *}
*/
export function _and(nowrap__a1__value__) {
return value => and(concat__wrap(nowrap__a1__value__, value))
export function _and(__a1__value) {
return value => and(concat__wrap(__a1__value, value))
}
/**
* Returns the first falsy or last item function call or value in `nowrap__a1__value` .
* @param {nowrap__a1<*|function>} nowrap__a1__value
* Returns the first falsy or last item function call or value in `__a1__value` .
* @param {nowrap__a1<*|function>} __a1__value
* @returns {*}
*/
export function and__fn(nowrap__a1__value) {
const a1__value = _a1__wrap(nowrap__a1__value)
export function and__fn(__a1__value) {
const a1__value = _a1__wrap(__a1__value)
let value__

@@ -482,16 +482,16 @@ for (let i = 0; i < a1__value.length; i++) {

/**
* Returns function that returns the first falsy or last item function call or value in `nowrap__a1__value` .
* @param {nowrap__a1<*|function>} nowrap__a1__value__
* Returns function that returns the first falsy or last item function call or value in `__a1__value` .
* @param {nowrap__a1<*|function>} __a1__value__
* @returns {function(*=): *}
*/
export function _and__fn(nowrap__a1__value__) {
return nowrap__a1__value => and__fn(concat__wrap(nowrap__a1__value__, nowrap__a1__value))
export function _and__fn(__a1__value__) {
return __a1__value => and__fn(concat__wrap(__a1__value__, __a1__value))
}
/**
* Returns first truthy or last item in `nowrap__a1__value`.
* @param {nowrap__a1} nowrap__a1__value
* Returns first truthy or last item in `__a1__value`.
* @param {nowrap__a1} __a1__value
* @returns {*}
*/
export function or(nowrap__a1__value) {
const a1__value = _a1__wrap(nowrap__a1__value)
export function or(__a1__value) {
const a1__value = _a1__wrap(__a1__value)
for (let i = 0; i < a1__value.length; i++) {

@@ -503,16 +503,16 @@ const value = a1__value[i]

/**
* Returns function that returns first truthy or last item in `nowrap__a1__value__`.
* @param {nowrap__a1} nowrap__a1__value__
* Returns function that returns first truthy or last item in `__a1__value`.
* @param {nowrap__a1} __a1__value
* @returns {function(*=): *}
*/
export function _or(nowrap__a1__value__) {
return value => or(concat__wrap(nowrap__a1__value__, value))
export function _or(__a1__value) {
return value => or(concat__wrap(__a1__value, value))
}
/**
* Returns first truthy or last item call or value in `nowrap__a1__value`.
* @param {nowrap__a1} nowrap__a1__value
* Returns first truthy or last item call or value in `__a1__value`.
* @param {nowrap__a1} __a1__value
* @returns {*}
*/
export function or__fn(nowrap__a1__value) {
const a1__value = _a1__wrap(nowrap__a1__value)
export function or__fn(__a1__value) {
const a1__value = _a1__wrap(__a1__value)
for (let i = 0; i < a1__value.length; i++) {

@@ -529,8 +529,8 @@ const value = a1__value[i]

/**
* Returns function that returns first truthy or last item call or value in `nowrap__a1__value__`.
* @param {nowrap__a1} nowrap__a1__value__
* Returns function that returns first truthy or last item call or value in `__a1__value`.
* @param {nowrap__a1} __a1__value
* @returns {*}
*/
export function _or__fn(nowrap__a1__value__) {
return value => or__fn(concat__wrap(nowrap__a1__value__, value))
export function _or__fn(__a1__value) {
return value => or__fn(concat__wrap(__a1__value, value))
}

@@ -537,0 +537,0 @@ export const _fn__or__fn = _or__fn

{
"name": "@ctx-core/function",
"version": "9.0.0",
"version": "9.0.1",
"description": "ctx-core function",

@@ -27,3 +27,3 @@ "main": "lib.js",

},
"gitHead": "44e777d07ee38a01fe47429ecd4744c4221ff193"
"gitHead": "5d2a2301f550dc2e66eefce736aaa740d66b0a34"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc