Reference sub()

sub()

Subtract the given number from the value currently stored at the given key. The difference then replaces the value previously stored in the Dictionary.

Examples

Syntax

sub(Key, Number)

Parameters

Key
Number:

for the value you wish to subtract from

Number
Number:

to subtract from the value

This page is generated from the comments in src/data/p5.TypedDict.js . Please feel free to edit it and submit a pull request!

Related References