MCPcopy Create free account

hub / github.com/Khan/perseus / functions

Functions3,411 in github.com/Khan/perseus

↓ 1 callersFunctionbuildAbsoluteValueDescription
( coeffs: AbsoluteValueCoefficients, locale: string, strings: PerseusStrings, )
packages/perseus/src/widgets/interactive-graphs/graphs/absolute-value.tsx:241
↓ 1 callersFunctionbuildChoiceProps
( choiceStates: ReadonlyArray<ChoiceState>, )
packages/perseus/src/widgets/radio/radio-widget.tsx:295
↓ 1 callersFunctionbuildExponentialDescription
( coeffs: ExponentialCoefficient | undefined, args: ExponentialDescriptionArgs, strings: PerseusSt
packages/perseus/src/widgets/interactive-graphs/graphs/exponential.tsx:290
↓ 1 callersFunctionbuildLogarithmDescription
( coeffs: LogarithmCoefficient | undefined, args: LogarithmDescriptionArgs, strings: PerseusString
packages/perseus/src/widgets/interactive-graphs/graphs/logarithm.tsx:345
↓ 1 callersFunctionbuildRoundedTriangle
( tipX: number, tipY: number, armX: number, armY: number, backX: number, backY: number
packages/perseus/src/widgets/interactive-graphs/graphs/components/movable-arrowhead-view.tsx:43
↓ 1 callersFunctionbuildTangentDescription
( coords: ReadonlyArray<Coord>, locale: string, strings: PerseusStrings, )
packages/perseus/src/widgets/interactive-graphs/graphs/tangent.tsx:353
↓ 1 callersFunctionbuttonNotInButtonSet
(name: string, set: string)
packages/perseus-linter/src/rules/expression-widget.ts:3
↓ 1 callersFunctioncalculateBisectorPoint
( point1: vec.Vector2, point2: vec.Vector2, vertex: vec.Vector2, isReflex: boolean, allowR
packages/perseus/src/widgets/interactive-graphs/graphs/components/angle-indicators.tsx:413
↓ 1 callersFunctioncalculateMaxDigitsInRange
( range: [number, number], tickStep: number, )
packages/perseus/src/widgets/interactive-graphs/backgrounds/utils.ts:71
↓ 1 callersFunctioncartFromPolarDeg
(radius: number, theta = 0)
packages/kmath/src/vector.ts:171
↓ 1 callersMethodchangeConsidered
( index: number, considered: (typeof PerseusExpressionAnswerFormConsidered)[number], )
packages/perseus-editor/src/widgets/expression-editor.tsx:263
↓ 1 callersMethodchangeForm
(index: number, form: boolean)
packages/perseus-editor/src/widgets/expression-editor.tsx:254
↓ 1 callersFunctionchangeProps
( index: number, // Omit the type from the figure props so it doesn't think // we're t
packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-figures-section.tsx:124
↓ 1 callersMethodchangeSimplify
(index: number, simplify: boolean)
packages/perseus-editor/src/widgets/expression-editor.tsx:245
↓ 1 callersMethodchangeTimes
(times: boolean)
packages/perseus-editor/src/widgets/expression-editor.tsx:275
↓ 1 callersFunctioncheckEntrypoints
(pkgJson)
utils/internal/pre-publish-utils.ts:87
↓ 1 callersFunctioncheckFiles
(jsonFiles)
data/find-questions.ts:70
↓ 1 callersFunctioncheckForScrollState
()
packages/perseus/src/components/scrollable-view.tsx:265
↓ 1 callersFunctioncheckIsRenderedAndLoaded
()
packages/perseus/src/testing/render-question-with-cypress.tsx:44
↓ 1 callersFunctioncheckMain
(pkgJson)
utils/internal/pre-publish-utils.ts:68
↓ 1 callersFunctioncheckModule
(pkgJson)
utils/internal/pre-publish-utils.ts:71
↓ 1 callersFunctioncheckPrivate
(pkgJson)
utils/internal/pre-publish-utils.ts:77
↓ 1 callersFunctioncheckPublishConfig
({ name, publishConfig, private: isPrivate, scripts, })
utils/internal/pre-publish-utils.ts:5
↓ 1 callersFunctioncheckSource
(pkgJson)
utils/internal/pre-publish-utils.ts:74
↓ 1 callersFunctionclassNames
( ...names: Array<string | false | null | undefined> )
packages/perseus/src/widgets/interactive-graphs/graphs/components/movable-arrowhead-view.tsx:189
↓ 1 callersMethodcollect
(options?: Options)
packages/kas/src/nodes.ts:1826
↓ 1 callersMethodcollect
(options?: Options)
packages/kas/src/nodes.ts:2099
↓ 1 callersMethodcollect
(options?: Options)
packages/kas/src/nodes.ts:2503
↓ 1 callersFunctioncommas
(text: string)
packages/perseus-score/src/util/answer-types.ts:544
↓ 1 callersMethodcommon
()
packages/kas/src/nodes.ts:2177
↓ 1 callersFunctioncomposeParsers
(parserA: A, parserB: B)
packages/perseus-core/src/parse-perseus-json/general-purpose-parsers/pipe-parsers.ts:22
↓ 1 callersFunctioncomputeCanUse3dTransform
()
packages/perseus/src/interactive2/interactive-util.ts:41
↓ 1 callersFunctioncomputeExponential
( x: number, coefficients: ExponentialCoefficient, )
packages/perseus/src/widgets/interactive-graphs/graphs/exponential.tsx:208
↓ 1 callersFunctioncomputeLogarithm
( coefficients: LogarithmCoefficient, x: number, )
packages/perseus/src/widgets/interactive-graphs/graphs/logarithm.tsx:204
↓ 1 callersFunctioncomputePrefixedTransform
()
packages/perseus/src/interactive2/interactive-util.ts:14
↓ 1 callersFunctionconjoin
(items: string[])
packages/perseus-core/src/parse-perseus-json/parse-failure-detail.ts:12
↓ 1 callersFunctionconstrainToBoundsOnAngle
( point: vec.Vector2, angle: number, range: [Interval, Interval], snapStep: vec.Vector2, )
packages/perseus/src/widgets/interactive-graphs/reducer/interactive-graph-reducer.ts:1298
↓ 1 callersFunctionconstructor
(graphie: Graphie, initialPoint: Coord)
packages/perseus/src/interactive2/wrapped-drawing.ts:31
↓ 1 callersFunctionconvertAxeImpactToIssueImpact
( impact?: axe.ImpactValue, )
packages/perseus-editor/src/util/a11y-checker.ts:44
↓ 1 callersFunctionconvertCaughtValueToError
(e: unknown)
packages/perseus/src/testing/item-flipbook/safe-parse-perseus-item.ts:26
↓ 1 callersFunctionconvertGrapherUserInputToInteractiveGraph
( grapherUserInput: PerseusGrapherUserInput, )
packages/perseus-core/src/widgets/grapher/to-interactive-graph.ts:63
↓ 1 callersFunctionconvertInputNumberOptionsToNumericInput
( inputNumberOptions: ParsedValue<typeof parseInputNumberWidgetV0>["options"], )
packages/perseus-core/src/parse-perseus-json/perseus-parsers/input-number-widget.ts:109
↓ 1 callersFunctionconvertInteractiveGraphUserInputToGrapher
( interactiveGraphUserInput: PerseusInteractiveGraphUserInput, )
packages/perseus-core/src/widgets/grapher/to-interactive-graph.ts:69
↓ 1 callersFunctionconvertToWbMeasurement
(cssProperty, propertyValue)
utils/extract-css-helper-functions.js:44
↓ 1 callersFunctionconvertTree
* Convert the parse tree output by the parser into an ordered list of atoms * and bonds to render. * * Args: * atoms: the output list of atoms
packages/perseus/src/widgets/molecule/molecule-layout.ts:232
↓ 1 callersFunctioncreateBaseConfig
()
packages/math-input/src/components/input/mathquill-instance.ts:17
↓ 1 callersFunctioncreateClass
(spec: any)
packages/perseus/src/components/graphie-classes.ts:68
↓ 1 callersFunctioncreateContentItemTester
( item: unknown, path: string, )
packages/perseus-core/src/parse-perseus-json/exhaustive-test-tool/index.ts:120
↓ 1 callersFunctioncreateContentItemTesters
( json: string, path: string, )
packages/perseus-core/src/parse-perseus-json/exhaustive-test-tool/index.ts:93
↓ 1 callersFunctioncreateMockRaphael
()
packages/perseus/src/util/graphie.test.ts:18
↓ 1 callersFunctioncreateValidator
(answer: PerseusNumericInputAnswer)
packages/perseus-score/src/widgets/numeric-input/score-numeric-input.ts:86
↓ 1 callersFunctioncreateVirtualEvent
(event, eventType)
packages/perseus/src/jquery.mobile.vmouse.js:67
↓ 1 callersFunctioncrossProduct
(as: A[], bs: B[])
packages/perseus/src/widgets/interactive-graphs/graphs/circle.tsx:263
↓ 1 callersFunctioncssPropertyIsOnLine
(allProperties, lineToCheck)
utils/extract-css.js:202
↓ 1 callersFunctiondeepCallbackFor
( contentCallback: (arg1: any) => void, widgetCallback: (widgetInfo: any, widgetId: string) => any,
packages/perseus-core/src/traversal.ts:24
↓ 1 callersFunctiondefaultExponentialCoords
(props: Props)
packages/perseus/src/widgets/interactive-graphs/get-equation-string.ts:416
↓ 1 callersFunctiondefaultLogarithmCoords
(props: Props)
packages/perseus/src/widgets/interactive-graphs/get-equation-string.ts:446
↓ 1 callersFunctiondefaultQuadraticCoords
(props: Props)
packages/perseus/src/widgets/interactive-graphs/get-equation-string.ts:364
↓ 1 callersFunctiondefaultSinusoidCoords
(props: Props)
packages/perseus/src/widgets/interactive-graphs/get-equation-string.ts:393
↓ 1 callersFunctiondefaultTangentCoords
(props: Props)
packages/perseus/src/widgets/interactive-graphs/get-equation-string.ts:497
↓ 1 callersFunctionderiveUserInputFromSerializedState
( serializedState: unknown, widgetsMap: PerseusWidgetsMap, )
packages/perseus/src/user-input-manager.tsx:76
↓ 1 callersFunctiondescribeAbsoluteValueGraph
( state: AbsoluteValueGraphState, i18n: I18nContextType, )
packages/perseus/src/widgets/interactive-graphs/graphs/absolute-value.tsx:204
↓ 1 callersFunctiondescribeAngleGraph
( state: AngleGraphState, i18n: I18nContextType, )
packages/perseus/src/widgets/interactive-graphs/graphs/angle.tsx:201
↓ 1 callersFunctiondescribeMismatch
(mismatch: Mismatch)
packages/perseus-core/src/parse-perseus-json/exhaustive-test-tool/index.ts:170
↓ 1 callersFunctiondescribedByIds
( ...args: Array<string | false | 0 | null | undefined> )
packages/perseus/src/widgets/interactive-graphs/mafs-graph.tsx:851
↓ 1 callersFunctiondisableMouseBindings
()
packages/perseus/src/jquery.mobile.vmouse.js:173
↓ 1 callersFunctiondiscriminatedUnionBranch
( discriminantKey: DK, discriminantValue: DV, parseVariant: Parser<Variant>, parseOtherBranche
packages/perseus-core/src/parse-perseus-json/general-purpose-parsers/discriminated-union.ts:54
↓ 1 callersFunctiondoAddPoint
( state: InteractiveGraphState, action: AddPoint, )
packages/perseus/src/widgets/interactive-graphs/reducer/interactive-graph-reducer.ts:1121
↓ 1 callersFunctiondoBlurPoint
( state: InteractiveGraphState, action: BlurPoint, )
packages/perseus/src/widgets/interactive-graphs/reducer/interactive-graph-reducer.ts:175
↓ 1 callersFunctiondoChangeInteractionMode
( state: InteractiveGraphState, action: ChangeInteractionMode, )
packages/perseus/src/widgets/interactive-graphs/reducer/interactive-graph-reducer.ts:241
↓ 1 callersFunctiondoChangeKeyboardInvitationVisibility
( state: InteractiveGraphState, action: ChangeKeyboardInvitationVisibility, )
packages/perseus/src/widgets/interactive-graphs/reducer/interactive-graph-reducer.ts:260
↓ 1 callersFunctiondoChangeRange
( state: InteractiveGraphState, action: ChangeRange, )
packages/perseus/src/widgets/interactive-graphs/reducer/interactive-graph-reducer.ts:1104
↓ 1 callersFunctiondoChangeSnapStep
( state: InteractiveGraphState, action: ChangeSnapStep, )
packages/perseus/src/widgets/interactive-graphs/reducer/interactive-graph-reducer.ts:1087
↓ 1 callersFunctiondoClickPoint
( state: InteractiveGraphState, action: ClickPoint, )
packages/perseus/src/widgets/interactive-graphs/reducer/interactive-graph-reducer.ts:197
↓ 1 callersFunctiondoClosePolygon
(state: InteractiveGraphState)
packages/perseus/src/widgets/interactive-graphs/reducer/interactive-graph-reducer.ts:212
↓ 1 callersFunctiondoDeleteIntent
( state: InteractiveGraphState, action: DeleteIntent, )
packages/perseus/src/widgets/interactive-graphs/reducer/interactive-graph-reducer.ts:142
↓ 1 callersFunctiondoFocusPoint
( state: InteractiveGraphState, action: FocusPoint, )
packages/perseus/src/widgets/interactive-graphs/reducer/interactive-graph-reducer.ts:159
↓ 1 callersFunctiondoMoveAll
( state: InteractiveGraphState, action: MoveAll, )
packages/perseus/src/widgets/interactive-graphs/reducer/interactive-graph-reducer.ts:494
↓ 1 callersFunctiondoMoveCenter
( state: InteractiveGraphState, action: MoveCenter, )
packages/perseus/src/widgets/interactive-graphs/reducer/interactive-graph-reducer.ts:924
↓ 1 callersFunctiondoMoveLine
( state: InteractiveGraphState, action: MoveLine, )
packages/perseus/src/widgets/interactive-graphs/reducer/interactive-graph-reducer.ts:414
↓ 1 callersFunctiondoMovePoint
( state: InteractiveGraphState, action: MovePoint, )
packages/perseus/src/widgets/interactive-graphs/reducer/interactive-graph-reducer.ts:530
↓ 1 callersFunctiondoMovePointInFigure
( state: InteractiveGraphState, action: MovePointInFigure, )
packages/perseus/src/widgets/interactive-graphs/reducer/interactive-graph-reducer.ts:275
↓ 1 callersFunctiondoMoveRadiusPoint
( state: InteractiveGraphState, action: MoveRadiusPoint, )
packages/perseus/src/widgets/interactive-graphs/reducer/interactive-graph-reducer.ts:1045
↓ 1 callersFunctiondoOpenPolygon
(state: InteractiveGraphState)
packages/perseus/src/widgets/interactive-graphs/reducer/interactive-graph-reducer.ts:230
↓ 1 callersFunctiondotProduct
( a: ReadonlyArray<number>, b: ReadonlyArray<number>, )
packages/kmath/src/geometry.ts:140
↓ 1 callersFunctiondraw
* Draw an array of rendering instructions into a 2D canvas drawing context.
packages/perseus/src/widgets/molecule/molecule-drawing.ts:158
↓ 1 callersFunctiondrawButton
( graphie, buttonCoord: kpoint.Point, lineCoords: Array<any> | Array<never
packages/perseus/src/util/interactive.ts:2742
↓ 1 callersFunctiondrawItem
* Draw a single rendering instruction into a 2D canvas drawing context.
packages/perseus/src/widgets/molecule/molecule-drawing.ts:129
↓ 1 callersFunctiondrawLine
* Draw a single line into a 2D canvas drawing context * * Args: * ctx: the 2D drawing context * item: the rendering instruction for the li
packages/perseus/src/widgets/molecule/molecule-drawing.ts:106
↓ 1 callersFunctiondrawRotateHandle
( graphie, center: any, radius, halfWidth, lengthA
packages/perseus/src/util/interactive.ts:2476
↓ 1 callersFunctioneither
(parseA: Parser<A>, parseB: Parser<B>)
packages/perseus-core/src/parse-perseus-json/general-purpose-parsers/union.ts:17
↓ 1 callersMethodemptyWidgets
* Returns an array of widget ids that are empty (meaning widgets where the * learner has not interacted with the widget yet or has not filled in
packages/perseus/src/renderer.old.tsx:1444
↓ 1 callersFunctionenableMouseBindings
()
packages/perseus/src/jquery.mobile.vmouse.js:163
↓ 1 callersFunctionenableTouchBindings
()
packages/perseus/src/jquery.mobile.vmouse.js:155
↓ 1 callersFunctionequal
(v1: Vector, v2: Vector, tolerance?: number)
packages/kmath/src/vector.ts:99
↓ 1 callersFunctionequalFloats
(a: number, b: number)
packages/perseus-core/src/parse-perseus-json/perseus-parsers/input-number-widget.ts:192
↓ 1 callersFunctionescapeIfUnescaped
(character: string)
packages/perseus/src/widgets/interactive-graphs/utils.ts:176
↓ 1 callersMethodeval
(vars: Vars = {}, options?: ParseOptions)
packages/kas/src/nodes.ts:2064
↓ 1 callersMethodeval
(vars: Vars = {}, options?: ParseOptions)
packages/kas/src/nodes.ts:2434
↓ 1 callersMethodeval
()
packages/kas/src/nodes.ts:3290
← previousnext →1,301–1,400 of 3,411, ranked by callers