type stringclasses 7
values | content stringlengths 4 9.55k | repo stringlengths 7 96 | path stringlengths 4 178 | language stringclasses 1
value |
|---|---|---|---|---|
FunctionDeclaration |
export declare function destroy(...form: string[]): FormAction; | AndreasHald/DefinitelyTyped | types/redux-form/lib/actions.d.ts | TypeScript |
FunctionDeclaration |
export declare function focus(form: string, field: string): FormAction; | AndreasHald/DefinitelyTyped | types/redux-form/lib/actions.d.ts | TypeScript |
FunctionDeclaration |
export declare function initialize(form: string, data: any, keepDirty?: boolean | InitializeOptions, options?: InitializeOptions): FormAction; | AndreasHald/DefinitelyTyped | types/redux-form/lib/actions.d.ts | TypeScript |
FunctionDeclaration |
export declare function registerField(form: string, name: string, type: FieldType): FormAction; | AndreasHald/DefinitelyTyped | types/redux-form/lib/actions.d.ts | TypeScript |
FunctionDeclaration |
export declare function reset(form: string): FormAction; | AndreasHald/DefinitelyTyped | types/redux-form/lib/actions.d.ts | TypeScript |
FunctionDeclaration |
export declare function startAsyncValidation(form: string): FormAction; | AndreasHald/DefinitelyTyped | types/redux-form/lib/actions.d.ts | TypeScript |
FunctionDeclaration |
export declare function stopAsyncValidation(form: string, errors?: any): FormAction; | AndreasHald/DefinitelyTyped | types/redux-form/lib/actions.d.ts | TypeScript |
FunctionDeclaration |
export declare function setSubmitFailed(form: string, ...fields: string[]): FormAction; | AndreasHald/DefinitelyTyped | types/redux-form/lib/actions.d.ts | TypeScript |
FunctionDeclaration |
export declare function setSubmitSucceeded(form: string, ...fields: string[]): FormAction; | AndreasHald/DefinitelyTyped | types/redux-form/lib/actions.d.ts | TypeScript |
FunctionDeclaration |
export declare function startSubmit(form: string): FormAction; | AndreasHald/DefinitelyTyped | types/redux-form/lib/actions.d.ts | TypeScript |
FunctionDeclaration |
export declare function stopSubmit(form: string, errors?: any): FormAction; | AndreasHald/DefinitelyTyped | types/redux-form/lib/actions.d.ts | TypeScript |
FunctionDeclaration |
export declare function submit(form: string): FormAction; | AndreasHald/DefinitelyTyped | types/redux-form/lib/actions.d.ts | TypeScript |
FunctionDeclaration |
export declare function clearSubmit(form: string): FormAction; | AndreasHald/DefinitelyTyped | types/redux-form/lib/actions.d.ts | TypeScript |
FunctionDeclaration |
export declare function clearSubmitErrors(form: string): FormAction; | AndreasHald/DefinitelyTyped | types/redux-form/lib/actions.d.ts | TypeScript |
FunctionDeclaration |
export declare function clearAsyncError(form: string, field: string): FormAction; | AndreasHald/DefinitelyTyped | types/redux-form/lib/actions.d.ts | TypeScript |
FunctionDeclaration |
export declare function touch(form: string, ...fields: string[]): FormAction; | AndreasHald/DefinitelyTyped | types/redux-form/lib/actions.d.ts | TypeScript |
FunctionDeclaration |
export declare function unregisterField(form: string, name: string): FormAction; | AndreasHald/DefinitelyTyped | types/redux-form/lib/actions.d.ts | TypeScript |
FunctionDeclaration |
export declare function untouch(form: string, ...fields: string[]): FormAction; | AndreasHald/DefinitelyTyped | types/redux-form/lib/actions.d.ts | TypeScript |
FunctionDeclaration |
export declare function updateSyncErrors(from: string, syncErrors: FormErrors<FormData>, error: any): FormAction; | AndreasHald/DefinitelyTyped | types/redux-form/lib/actions.d.ts | TypeScript |
FunctionDeclaration |
export declare function updateSyncWarnings(form: string, syncWarnings: FormWarnings<FormData>, warning: any): FormAction; | AndreasHald/DefinitelyTyped | types/redux-form/lib/actions.d.ts | TypeScript |
InterfaceDeclaration |
export interface FormAction extends Action {
meta?: any;
payload?: any;
error?: any;
} | AndreasHald/DefinitelyTyped | types/redux-form/lib/actions.d.ts | TypeScript |
InterfaceDeclaration |
export interface InitializeOptions {
keepDirty: boolean;
keepSubmitSucceeded: boolean;
} | AndreasHald/DefinitelyTyped | types/redux-form/lib/actions.d.ts | TypeScript |
ArrowFunction |
() => {
let server: setupServerReturn['server'];
let httpSetup: setupServerReturn['httpSetup'];
let handlerContext: setupServerReturn['handlerContext'];
let savedObjectsClient: ReturnType<typeof savedObjectsClientMock.create>;
const clientResponse = {
total: 0,
saved_objects: [],
per_page: 0,
... | ingalls-infosec/kibana | src/core/server/saved_objects/routes/integration_tests/find.test.ts | TypeScript |
ArrowFunction |
async () => {
({ server, httpSetup, handlerContext } = await setupServer());
savedObjectsClient = handlerContext.savedObjects.client;
savedObjectsClient.find.mockResolvedValue(clientResponse);
const router = httpSetup.createRouter('/api/saved_objects/');
registerFindRoute(router);
await serv... | ingalls-infosec/kibana | src/core/server/saved_objects/routes/integration_tests/find.test.ts | TypeScript |
ArrowFunction |
async () => {
await server.stop();
} | ingalls-infosec/kibana | src/core/server/saved_objects/routes/integration_tests/find.test.ts | TypeScript |
ArrowFunction |
async () => {
const result = await supertest(httpSetup.server.listener)
.get('/api/saved_objects/_find')
.expect(400);
expect(result.body.message).toContain(
'[request query.type]: expected at least one defined value'
);
} | ingalls-infosec/kibana | src/core/server/saved_objects/routes/integration_tests/find.test.ts | TypeScript |
ArrowFunction |
async () => {
const findResponse = {
total: 2,
per_page: 2,
page: 1,
saved_objects: [
{
type: 'index-pattern',
id: 'logstash-*',
title: 'logstash-*',
timeFieldName: '@timestamp',
notExpandable: true,
attributes: {},
... | ingalls-infosec/kibana | src/core/server/saved_objects/routes/integration_tests/find.test.ts | TypeScript |
ArrowFunction |
async () => {
await supertest(httpSetup.server.listener)
.get('/api/saved_objects/_find?type=foo&type=bar')
.expect(200);
expect(savedObjectsClient.find).toHaveBeenCalledTimes(1);
const options = savedObjectsClient.find.mock.calls[0][0];
expect(options).toEqual({
perPage: 20,
... | ingalls-infosec/kibana | src/core/server/saved_objects/routes/integration_tests/find.test.ts | TypeScript |
ArrowFunction |
async () => {
await supertest(httpSetup.server.listener)
.get('/api/saved_objects/_find?type=foo&per_page=10&page=50')
.expect(200);
expect(savedObjectsClient.find).toHaveBeenCalledTimes(1);
const options = savedObjectsClient.find.mock.calls[0][0];
expect(options).toEqual({ perPage: 10, p... | ingalls-infosec/kibana | src/core/server/saved_objects/routes/integration_tests/find.test.ts | TypeScript |
ArrowFunction |
async () => {
await supertest(httpSetup.server.listener).get('/api/saved_objects/_find?type=foo').expect(200);
expect(savedObjectsClient.find).toHaveBeenCalledTimes(1);
const options = savedObjectsClient.find.mock.calls[0][0];
expect(options.hasReference).toBe(undefined);
} | ingalls-infosec/kibana | src/core/server/saved_objects/routes/integration_tests/find.test.ts | TypeScript |
ArrowFunction |
async () => {
const references = querystring.escape(
JSON.stringify({
id: '1',
type: 'reference',
})
);
await supertest(httpSetup.server.listener)
.get(`/api/saved_objects/_find?type=foo&has_reference=${references}`)
.expect(200);
expect(savedObjectsClient.find)... | ingalls-infosec/kibana | src/core/server/saved_objects/routes/integration_tests/find.test.ts | TypeScript |
ArrowFunction |
async () => {
await supertest(httpSetup.server.listener)
.get('/api/saved_objects/_find?type=foo&search_fields=title')
.expect(200);
expect(savedObjectsClient.find).toHaveBeenCalledTimes(1);
const options = savedObjectsClient.find.mock.calls[0][0];
expect(options).toEqual({
perPage:... | ingalls-infosec/kibana | src/core/server/saved_objects/routes/integration_tests/find.test.ts | TypeScript |
ArrowFunction |
async () => {
await supertest(httpSetup.server.listener)
.get('/api/saved_objects/_find?type=foo&fields=title')
.expect(200);
expect(savedObjectsClient.find).toHaveBeenCalledTimes(1);
const options = savedObjectsClient.find.mock.calls[0][0];
expect(options).toEqual({
perPage: 20,
... | ingalls-infosec/kibana | src/core/server/saved_objects/routes/integration_tests/find.test.ts | TypeScript |
ArrowFunction |
async () => {
await supertest(httpSetup.server.listener)
.get('/api/saved_objects/_find?type=foo&fields=title&fields=description')
.expect(200);
expect(savedObjectsClient.find).toHaveBeenCalledTimes(1);
const options = savedObjectsClient.find.mock.calls[0][0];
expect(options).toEqual({
... | ingalls-infosec/kibana | src/core/server/saved_objects/routes/integration_tests/find.test.ts | TypeScript |
ArrowFunction |
async () => {
await supertest(httpSetup.server.listener)
.get('/api/saved_objects/_find?type=index-pattern')
.expect(200);
expect(savedObjectsClient.find).toHaveBeenCalledTimes(1);
const options = savedObjectsClient.find.mock.calls[0][0];
expect(options).toEqual({
perPage: 20,
... | ingalls-infosec/kibana | src/core/server/saved_objects/routes/integration_tests/find.test.ts | TypeScript |
ArrowFunction |
async () => {
await supertest(httpSetup.server.listener)
.get('/api/saved_objects/_find?type=index-pattern&type=visualization')
.expect(200);
expect(savedObjectsClient.find).toHaveBeenCalledTimes(1);
const options = savedObjectsClient.find.mock.calls[0][0];
expect(options).toEqual({
... | ingalls-infosec/kibana | src/core/server/saved_objects/routes/integration_tests/find.test.ts | TypeScript |
TypeAliasDeclaration |
type setupServerReturn = UnwrapPromise<ReturnType<typeof setupServer>>; | ingalls-infosec/kibana | src/core/server/saved_objects/routes/integration_tests/find.test.ts | TypeScript |
ClassDeclaration |
@Component({
selector: 'nimble-registration',
templateUrl: './registration.component.html'
})
export class RegistrationComponent {
constructor(
private translate: TranslateService
) {
}
} | HomeIncorporated/frontend-service | src/app/user-mgmt/registration.component.ts | TypeScript |
ClassDeclaration |
class FileDTO implements IFileDTO
{
private _metadata : IFileDomain;
private _stream : internal.Readable;
constructor(metadata: IFileDomain, stream: internal.Readable)
{
this._metadata = metadata;
this._stream = stream;
}
public get metadata() : IFileDomain
{
retur... | DigiChanges/node-experience | src/File/InterfaceAdapters/Payloads/FileDTO.ts | TypeScript |
ArrowFunction |
() =>
console.log('success') | MukhammadSobirov/messages | src/messages/messages.repository.ts | TypeScript |
ClassDeclaration |
@Injectable()
export class MessagesRepository {
async findOne(id: string) {
const contents = await readFile('message.json', 'utf8');
const messages = JSON.parse(contents);
return messages[id];
}
async findAll() {
const contents = await readFile('message.json', 'utf8');
const messages = JSON... | MukhammadSobirov/messages | src/messages/messages.repository.ts | TypeScript |
MethodDeclaration |
async findOne(id: string) {
const contents = await readFile('message.json', 'utf8');
const messages = JSON.parse(contents);
return messages[id];
} | MukhammadSobirov/messages | src/messages/messages.repository.ts | TypeScript |
MethodDeclaration |
async findAll() {
const contents = await readFile('message.json', 'utf8');
const messages = JSON.parse(contents);
return messages;
} | MukhammadSobirov/messages | src/messages/messages.repository.ts | TypeScript |
MethodDeclaration |
async create(content: string) {
const contents = await readFile('message.json', 'utf8');
const messages = JSON.parse(contents);
const id = Math.floor(Math.random() * 999);
messages[id] = { id, content };
await writeFile('message.json', JSON.stringify(messages), () =>
console.log('success')... | MukhammadSobirov/messages | src/messages/messages.repository.ts | TypeScript |
FunctionDeclaration | /**
* @since 2.0.0
*/
export declare function identity<A>(a: A): A | Gelardinio/Spotify-Auto-Sleep | node_modules/@fitbit/fdb-debugger/node_modules/fp-ts/es6/function.d.ts | TypeScript |
FunctionDeclaration | /**
* @since 2.0.0
*/
export declare function not<A>(predicate: Predicate<A>): Predicate<A> | Gelardinio/Spotify-Auto-Sleep | node_modules/@fitbit/fdb-debugger/node_modules/fp-ts/es6/function.d.ts | TypeScript |
FunctionDeclaration | /**
* @since 2.0.0
*/
export declare function constant<A>(a: A): Lazy<A> | Gelardinio/Spotify-Auto-Sleep | node_modules/@fitbit/fdb-debugger/node_modules/fp-ts/es6/function.d.ts | TypeScript |
FunctionDeclaration | /**
* Flips the order of the arguments of a function of two arguments.
*
* @since 2.0.0
*/
export declare function flip<A, B, C>(f: (a: A, b: B) => C): (b: B, a: A) => C | Gelardinio/Spotify-Auto-Sleep | node_modules/@fitbit/fdb-debugger/node_modules/fp-ts/es6/function.d.ts | TypeScript |
FunctionDeclaration | /**
* Performs left-to-right function composition. The first argument may have any arity, the remaining arguments must be unary.
*
* See also [`pipe`](#pipe).
*
* @example
* import { flow } from 'fp-ts/function'
*
* const len = (s: string): number => s.length
* const double = (n: number): number => n * 2
*
*... | Gelardinio/Spotify-Auto-Sleep | node_modules/@fitbit/fdb-debugger/node_modules/fp-ts/es6/function.d.ts | TypeScript |
FunctionDeclaration |
export declare function flow<A extends ReadonlyArray<unknown>, B, C>(
ab: (...a: A) => B,
bc: (b: B) => C
): (...a: A) => C | Gelardinio/Spotify-Auto-Sleep | node_modules/@fitbit/fdb-debugger/node_modules/fp-ts/es6/function.d.ts | TypeScript |
FunctionDeclaration |
export declare function flow<A extends ReadonlyArray<unknown>, B, C, D>(
ab: (...a: A) => B,
bc: (b: B) => C,
cd: (c: C) => D
): (...a: A) => D | Gelardinio/Spotify-Auto-Sleep | node_modules/@fitbit/fdb-debugger/node_modules/fp-ts/es6/function.d.ts | TypeScript |
FunctionDeclaration |
export declare function flow<A extends ReadonlyArray<unknown>, B, C, D, E>(
ab: (...a: A) => B,
bc: (b: B) => C,
cd: (c: C) => D,
de: (d: D) => E
): (...a: A) => E | Gelardinio/Spotify-Auto-Sleep | node_modules/@fitbit/fdb-debugger/node_modules/fp-ts/es6/function.d.ts | TypeScript |
FunctionDeclaration |
export declare function flow<A extends ReadonlyArray<unknown>, B, C, D, E, F>(
ab: (...a: A) => B,
bc: (b: B) => C,
cd: (c: C) => D,
de: (d: D) => E,
ef: (e: E) => F
): (...a: A) => F | Gelardinio/Spotify-Auto-Sleep | node_modules/@fitbit/fdb-debugger/node_modules/fp-ts/es6/function.d.ts | TypeScript |
FunctionDeclaration |
export declare function flow<A extends ReadonlyArray<unknown>, B, C, D, E, F, G>(
ab: (...a: A) => B,
bc: (b: B) => C,
cd: (c: C) => D,
de: (d: D) => E,
ef: (e: E) => F,
fg: (f: F) => G
): (...a: A) => G | Gelardinio/Spotify-Auto-Sleep | node_modules/@fitbit/fdb-debugger/node_modules/fp-ts/es6/function.d.ts | TypeScript |
FunctionDeclaration |
export declare function flow<A extends ReadonlyArray<unknown>, B, C, D, E, F, G, H>(
ab: (...a: A) => B,
bc: (b: B) => C,
cd: (c: C) => D,
de: (d: D) => E,
ef: (e: E) => F,
fg: (f: F) => G,
gh: (g: G) => H
): (...a: A) => H | Gelardinio/Spotify-Auto-Sleep | node_modules/@fitbit/fdb-debugger/node_modules/fp-ts/es6/function.d.ts | TypeScript |
FunctionDeclaration |
export declare function flow<A extends ReadonlyArray<unknown>, B, C, D, E, F, G, H, I>(
ab: (...a: A) => B,
bc: (b: B) => C,
cd: (c: C) => D,
de: (d: D) => E,
ef: (e: E) => F,
fg: (f: F) => G,
gh: (g: G) => H,
hi: (h: H) => I
): (...a: A) => I | Gelardinio/Spotify-Auto-Sleep | node_modules/@fitbit/fdb-debugger/node_modules/fp-ts/es6/function.d.ts | TypeScript |
FunctionDeclaration |
export declare function flow<A extends ReadonlyArray<unknown>, B, C, D, E, F, G, H, I, J>(
ab: (...a: A) => B,
bc: (b: B) => C,
cd: (c: C) => D,
de: (d: D) => E,
ef: (e: E) => F,
fg: (f: F) => G,
gh: (g: G) => H,
hi: (h: H) => I,
ij: (i: I) => J
): (...a: A) => J | Gelardinio/Spotify-Auto-Sleep | node_modules/@fitbit/fdb-debugger/node_modules/fp-ts/es6/function.d.ts | TypeScript |
FunctionDeclaration | /**
* @since 2.0.0
*/
export declare function tuple<T extends ReadonlyArray<any>>(...t: T): T | Gelardinio/Spotify-Auto-Sleep | node_modules/@fitbit/fdb-debugger/node_modules/fp-ts/es6/function.d.ts | TypeScript |
FunctionDeclaration | /**
* @since 2.0.0
*/
export declare function increment(n: number): number | Gelardinio/Spotify-Auto-Sleep | node_modules/@fitbit/fdb-debugger/node_modules/fp-ts/es6/function.d.ts | TypeScript |
FunctionDeclaration | /**
* @since 2.0.0
*/
export declare function decrement(n: number): number | Gelardinio/Spotify-Auto-Sleep | node_modules/@fitbit/fdb-debugger/node_modules/fp-ts/es6/function.d.ts | TypeScript |
FunctionDeclaration | /**
* @since 2.0.0
*/
export declare function absurd<A>(_: never): A | Gelardinio/Spotify-Auto-Sleep | node_modules/@fitbit/fdb-debugger/node_modules/fp-ts/es6/function.d.ts | TypeScript |
FunctionDeclaration | /**
* Creates a tupled version of this function: instead of `n` arguments, it accepts a single tuple argument.
*
* @example
* import { tupled } from 'fp-ts/function'
*
* const add = tupled((x: number, y: number): number => x + y)
*
* assert.strictEqual(add([1, 2]), 3)
*
* @since 2.4.0
*/
export declare funct... | Gelardinio/Spotify-Auto-Sleep | node_modules/@fitbit/fdb-debugger/node_modules/fp-ts/es6/function.d.ts | TypeScript |
FunctionDeclaration | /**
* Inverse function of `tupled`
*
* @since 2.4.0
*/
export declare function untupled<A extends ReadonlyArray<unknown>, B>(f: (a: A) => B): (...a: A) => B | Gelardinio/Spotify-Auto-Sleep | node_modules/@fitbit/fdb-debugger/node_modules/fp-ts/es6/function.d.ts | TypeScript |
FunctionDeclaration | /**
* Pipes the value of an expression into a pipeline of functions.
*
* See also [`flow`](#flow).
*
* @example
* import { pipe } from 'fp-ts/function'
*
* const len = (s: string): number => s.length
* const double = (n: number): number => n * 2
*
* // without pipe
* assert.strictEqual(double(len('aaa')), 6... | Gelardinio/Spotify-Auto-Sleep | node_modules/@fitbit/fdb-debugger/node_modules/fp-ts/es6/function.d.ts | TypeScript |
FunctionDeclaration |
export declare function pipe<A, B>(a: A, ab: (a: A) => B): B | Gelardinio/Spotify-Auto-Sleep | node_modules/@fitbit/fdb-debugger/node_modules/fp-ts/es6/function.d.ts | TypeScript |
FunctionDeclaration |
export declare function pipe<A, B, C>(a: A, ab: (a: A) => B, bc: (b: B) => C): C | Gelardinio/Spotify-Auto-Sleep | node_modules/@fitbit/fdb-debugger/node_modules/fp-ts/es6/function.d.ts | TypeScript |
FunctionDeclaration |
export declare function pipe<A, B, C, D>(a: A, ab: (a: A) => B, bc: (b: B) => C, cd: (c: C) => D): D | Gelardinio/Spotify-Auto-Sleep | node_modules/@fitbit/fdb-debugger/node_modules/fp-ts/es6/function.d.ts | TypeScript |
FunctionDeclaration |
export declare function pipe<A, B, C, D, E>(a: A, ab: (a: A) => B, bc: (b: B) => C, cd: (c: C) => D, de: (d: D) => E): E | Gelardinio/Spotify-Auto-Sleep | node_modules/@fitbit/fdb-debugger/node_modules/fp-ts/es6/function.d.ts | TypeScript |
FunctionDeclaration |
export declare function pipe<A, B, C, D, E, F>(
a: A,
ab: (a: A) => B,
bc: (b: B) => C,
cd: (c: C) => D,
de: (d: D) => E,
ef: (e: E) => F
): F | Gelardinio/Spotify-Auto-Sleep | node_modules/@fitbit/fdb-debugger/node_modules/fp-ts/es6/function.d.ts | TypeScript |
FunctionDeclaration |
export declare function pipe<A, B, C, D, E, F, G>(
a: A,
ab: (a: A) => B,
bc: (b: B) => C,
cd: (c: C) => D,
de: (d: D) => E,
ef: (e: E) => F,
fg: (f: F) => G
): G | Gelardinio/Spotify-Auto-Sleep | node_modules/@fitbit/fdb-debugger/node_modules/fp-ts/es6/function.d.ts | TypeScript |
FunctionDeclaration |
export declare function pipe<A, B, C, D, E, F, G, H>(
a: A,
ab: (a: A) => B,
bc: (b: B) => C,
cd: (c: C) => D,
de: (d: D) => E,
ef: (e: E) => F,
fg: (f: F) => G,
gh: (g: G) => H
): H | Gelardinio/Spotify-Auto-Sleep | node_modules/@fitbit/fdb-debugger/node_modules/fp-ts/es6/function.d.ts | TypeScript |
FunctionDeclaration |
export declare function pipe<A, B, C, D, E, F, G, H, I>(
a: A,
ab: (a: A) => B,
bc: (b: B) => C,
cd: (c: C) => D,
de: (d: D) => E,
ef: (e: E) => F,
fg: (f: F) => G,
gh: (g: G) => H,
hi: (h: H) => I
): I | Gelardinio/Spotify-Auto-Sleep | node_modules/@fitbit/fdb-debugger/node_modules/fp-ts/es6/function.d.ts | TypeScript |
FunctionDeclaration |
export declare function pipe<A, B, C, D, E, F, G, H, I, J>(
a: A,
ab: (a: A) => B,
bc: (b: B) => C,
cd: (c: C) => D,
de: (d: D) => E,
ef: (e: E) => F,
fg: (f: F) => G,
gh: (g: G) => H,
hi: (h: H) => I,
ij: (i: I) => J
): J | Gelardinio/Spotify-Auto-Sleep | node_modules/@fitbit/fdb-debugger/node_modules/fp-ts/es6/function.d.ts | TypeScript |
FunctionDeclaration |
export declare function pipe<A, B, C, D, E, F, G, H, I, J, K>(
a: A,
ab: (a: A) => B,
bc: (b: B) => C,
cd: (c: C) => D,
de: (d: D) => E,
ef: (e: E) => F,
fg: (f: F) => G,
gh: (g: G) => H,
hi: (h: H) => I,
ij: (i: I) => J,
jk: (j: J) => K
): K | Gelardinio/Spotify-Auto-Sleep | node_modules/@fitbit/fdb-debugger/node_modules/fp-ts/es6/function.d.ts | TypeScript |
FunctionDeclaration |
export declare function pipe<A, B, C, D, E, F, G, H, I, J, K, L>(
a: A,
ab: (a: A) => B,
bc: (b: B) => C,
cd: (c: C) => D,
de: (d: D) => E,
ef: (e: E) => F,
fg: (f: F) => G,
gh: (g: G) => H,
hi: (h: H) => I,
ij: (i: I) => J,
jk: (j: J) => K,
kl: (k: K) => L
): L | Gelardinio/Spotify-Auto-Sleep | node_modules/@fitbit/fdb-debugger/node_modules/fp-ts/es6/function.d.ts | TypeScript |
FunctionDeclaration |
export declare function pipe<A, B, C, D, E, F, G, H, I, J, K, L, M>(
a: A,
ab: (a: A) => B,
bc: (b: B) => C,
cd: (c: C) => D,
de: (d: D) => E,
ef: (e: E) => F,
fg: (f: F) => G,
gh: (g: G) => H,
hi: (h: H) => I,
ij: (i: I) => J,
jk: (j: J) => K,
kl: (k: K) => L,
lm: (l: L) => M
): M | Gelardinio/Spotify-Auto-Sleep | node_modules/@fitbit/fdb-debugger/node_modules/fp-ts/es6/function.d.ts | TypeScript |
FunctionDeclaration |
export declare function pipe<A, B, C, D, E, F, G, H, I, J, K, L, M, N>(
a: A,
ab: (a: A) => B,
bc: (b: B) => C,
cd: (c: C) => D,
de: (d: D) => E,
ef: (e: E) => F,
fg: (f: F) => G,
gh: (g: G) => H,
hi: (h: H) => I,
ij: (i: I) => J,
jk: (j: J) => K,
kl: (k: K) => L,
lm: (l: L) => M,
mn: (m: M... | Gelardinio/Spotify-Auto-Sleep | node_modules/@fitbit/fdb-debugger/node_modules/fp-ts/es6/function.d.ts | TypeScript |
FunctionDeclaration |
export declare function pipe<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O>(
a: A,
ab: (a: A) => B,
bc: (b: B) => C,
cd: (c: C) => D,
de: (d: D) => E,
ef: (e: E) => F,
fg: (f: F) => G,
gh: (g: G) => H,
hi: (h: H) => I,
ij: (i: I) => J,
jk: (j: J) => K,
kl: (k: K) => L,
lm: (l: L) => M,
mn: (m... | Gelardinio/Spotify-Auto-Sleep | node_modules/@fitbit/fdb-debugger/node_modules/fp-ts/es6/function.d.ts | TypeScript |
FunctionDeclaration |
export declare function pipe<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P>(
a: A,
ab: (a: A) => B,
bc: (b: B) => C,
cd: (c: C) => D,
de: (d: D) => E,
ef: (e: E) => F,
fg: (f: F) => G,
gh: (g: G) => H,
hi: (h: H) => I,
ij: (i: I) => J,
jk: (j: J) => K,
kl: (k: K) => L,
lm: (l: L) => M,
mn:... | Gelardinio/Spotify-Auto-Sleep | node_modules/@fitbit/fdb-debugger/node_modules/fp-ts/es6/function.d.ts | TypeScript |
FunctionDeclaration |
export declare function pipe<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q>(
a: A,
ab: (a: A) => B,
bc: (b: B) => C,
cd: (c: C) => D,
de: (d: D) => E,
ef: (e: E) => F,
fg: (f: F) => G,
gh: (g: G) => H,
hi: (h: H) => I,
ij: (i: I) => J,
jk: (j: J) => K,
kl: (k: K) => L,
lm: (l: L) => M,
... | Gelardinio/Spotify-Auto-Sleep | node_modules/@fitbit/fdb-debugger/node_modules/fp-ts/es6/function.d.ts | TypeScript |
FunctionDeclaration |
export declare function pipe<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R>(
a: A,
ab: (a: A) => B,
bc: (b: B) => C,
cd: (c: C) => D,
de: (d: D) => E,
ef: (e: E) => F,
fg: (f: F) => G,
gh: (g: G) => H,
hi: (h: H) => I,
ij: (i: I) => J,
jk: (j: J) => K,
kl: (k: K) => L,
lm: (l: L) => M,... | Gelardinio/Spotify-Auto-Sleep | node_modules/@fitbit/fdb-debugger/node_modules/fp-ts/es6/function.d.ts | TypeScript |
FunctionDeclaration |
export declare function pipe<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S>(
a: A,
ab: (a: A) => B,
bc: (b: B) => C,
cd: (c: C) => D,
de: (d: D) => E,
ef: (e: E) => F,
fg: (f: F) => G,
gh: (g: G) => H,
hi: (h: H) => I,
ij: (i: I) => J,
jk: (j: J) => K,
kl: (k: K) => L,
lm: (l: L) =>... | Gelardinio/Spotify-Auto-Sleep | node_modules/@fitbit/fdb-debugger/node_modules/fp-ts/es6/function.d.ts | TypeScript |
FunctionDeclaration |
export declare function pipe<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T>(
a: A,
ab: (a: A) => B,
bc: (b: B) => C,
cd: (c: C) => D,
de: (d: D) => E,
ef: (e: E) => F,
fg: (f: F) => G,
gh: (g: G) => H,
hi: (h: H) => I,
ij: (i: I) => J,
jk: (j: J) => K,
kl: (k: K) => L,
lm: (l: L)... | Gelardinio/Spotify-Auto-Sleep | node_modules/@fitbit/fdb-debugger/node_modules/fp-ts/es6/function.d.ts | TypeScript |
InterfaceDeclaration | /**
* @since 2.0.0
*/
/**
* A *thunk*
*
* @since 2.0.0
*/
export interface Lazy<A> {
(): A
} | Gelardinio/Spotify-Auto-Sleep | node_modules/@fitbit/fdb-debugger/node_modules/fp-ts/es6/function.d.ts | TypeScript |
InterfaceDeclaration | /**
* @since 2.0.0
*/
export interface Predicate<A> {
(a: A): boolean
} | Gelardinio/Spotify-Auto-Sleep | node_modules/@fitbit/fdb-debugger/node_modules/fp-ts/es6/function.d.ts | TypeScript |
InterfaceDeclaration | /**
* @since 2.0.0
*/
export interface Refinement<A, B extends A> {
(a: A): a is B
} | Gelardinio/Spotify-Auto-Sleep | node_modules/@fitbit/fdb-debugger/node_modules/fp-ts/es6/function.d.ts | TypeScript |
InterfaceDeclaration | /**
* @since 2.0.0
*/
export interface Endomorphism<A> {
(a: A): A
} | Gelardinio/Spotify-Auto-Sleep | node_modules/@fitbit/fdb-debugger/node_modules/fp-ts/es6/function.d.ts | TypeScript |
InterfaceDeclaration | /**
* @example
* import { FunctionN } from 'fp-ts/function'
*
* export const sum: FunctionN<[number, number], number> = (a, b) => a + b
*
* @since 2.0.0
*/
export interface FunctionN<A extends ReadonlyArray<unknown>, B> {
(...args: A): B
} | Gelardinio/Spotify-Auto-Sleep | node_modules/@fitbit/fdb-debugger/node_modules/fp-ts/es6/function.d.ts | TypeScript |
ArrowFunction |
(code: string, displayAs: string) =>
Object.values(ChainDenominations).some(
denomination =>
Object.values(denomination).some(unit => unit.code === code) &&
Object.values(denomination).some(unit => unit.code === displayAs)
) | cryptotronxyz/bitcore | packages/insight/src/app/shared/currency-value/currency-value.component.ts | TypeScript |
ArrowFunction |
denomination =>
Object.values(denomination).some(unit => unit.code === code) &&
Object.values(denomination).some(unit => unit.code === displayAs) | cryptotronxyz/bitcore | packages/insight/src/app/shared/currency-value/currency-value.component.ts | TypeScript |
ArrowFunction |
unit => unit.code === code | cryptotronxyz/bitcore | packages/insight/src/app/shared/currency-value/currency-value.component.ts | TypeScript |
ArrowFunction |
unit => unit.code === displayAs | cryptotronxyz/bitcore | packages/insight/src/app/shared/currency-value/currency-value.component.ts | TypeScript |
ArrowFunction |
(code: string, rates: RateListing) => {
const listing = rates.find(unit => unit.code === code);
return listing !== undefined ? listing.rate : undefined;
} | cryptotronxyz/bitcore | packages/insight/src/app/shared/currency-value/currency-value.component.ts | TypeScript |
ArrowFunction |
(amount: number, fromRate?: number, toRate?: number) =>
fromRate === undefined || toRate === undefined
? undefined
: (toRate / fromRate) * amount | cryptotronxyz/bitcore | packages/insight/src/app/shared/currency-value/currency-value.component.ts | TypeScript |
ArrowFunction |
(code: string) =>
Object.values(ChainDenominations).find(denomination =>
Object.values(denomination).some(unit => unit.code === code)
) | cryptotronxyz/bitcore | packages/insight/src/app/shared/currency-value/currency-value.component.ts | TypeScript |
ArrowFunction |
denomination =>
Object.values(denomination).some(unit => unit.code === code) | cryptotronxyz/bitcore | packages/insight/src/app/shared/currency-value/currency-value.component.ts | TypeScript |
ArrowFunction |
(
amount: number,
code: string,
displayAs: string
) => {
const denomination = getDenominationByCode(code);
if (denomination === undefined) {
return undefined;
}
const rates = Object.values(denomination);
return convertAmount(amount, getRate(code, rates), getRate(displayAs, rates));
} | cryptotronxyz/bitcore | packages/insight/src/app/shared/currency-value/currency-value.component.ts | TypeScript |
ArrowFunction |
({ amount, code, displayAs }) =>
code === displayAs
? of({ value: amount, unit: code })
: isDenominationChangeOnly(code, displayAs)
? of({
value: changeDenomination(amount, code, displayAs),
unit: displayAs
})
: this.apiS... | cryptotronxyz/bitcore | packages/insight/src/app/shared/currency-value/currency-value.component.ts | TypeScript |
ArrowFunction |
(ratesListing: RateListing) => {
return this.convertAmountUsingRates(
amount,
code,
displayAs,
ratesListing
);
} | cryptotronxyz/bitcore | packages/insight/src/app/shared/currency-value/currency-value.component.ts | TypeScript |
ArrowFunction |
(code: string) =>
CurrencySymbols[code] ? CurrencySymbols[code] : '' | cryptotronxyz/bitcore | packages/insight/src/app/shared/currency-value/currency-value.component.ts | TypeScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.