Skip to main content
This release is 8 versions behind 0.3.2 — the latest version of @kravets/t-kassa-api. Jump to latest

Built and signed on GitHub Actions

SDK для Т-Кассы (тинькофф платежи)

This package works with Node.js, Deno, Bun
This package works with Node.js
This package works with Deno
This package works with Bun
JSR Score
94%
Published
3 months ago (0.1.1)
function filters.notNullable
notNullable<Key extends keyof UnionToIntersection<WebhookBody>>(key: Key): UpdateFilter<[K in Key]: NonNullable<UnionToIntersection<WebhookBody>[K]>>

Фильтр, который проверяет не равняется ли значение по ключу null или undefined

Type Parameters

Key extends keyof UnionToIntersection<WebhookBody>

Parameters

key: Key

Return Type

UpdateFilter<[K in Key]: NonNullable<UnionToIntersection<WebhookBody>[K]>>

Add Package

deno add jsr:@kravets/t-kassa-api

Import symbol

import { filters } from "@kravets/t-kassa-api";
const { notNullable } = filters;

---- OR ----

Import directly with a jsr specifier

import { filters } from "jsr:@kravets/t-kassa-api";
const { notNullable } = filters;

Add Package

npx jsr add @kravets/t-kassa-api

Import symbol

import { filters } from "@kravets/t-kassa-api";
const { notNullable } = filters;

Add Package

yarn dlx jsr add @kravets/t-kassa-api

Import symbol

import { filters } from "@kravets/t-kassa-api";
const { notNullable } = filters;

Add Package

pnpm dlx jsr add @kravets/t-kassa-api

Import symbol

import { filters } from "@kravets/t-kassa-api";
const { notNullable } = filters;

Add Package

bunx jsr add @kravets/t-kassa-api

Import symbol

import { filters } from "@kravets/t-kassa-api";
const { notNullable } = filters;